//
//  CPYSongListTypeChildrenCollectionViewCell.m
//  TTMusic
//
//  Created by chenpengyu on 16/4/5.
//  Copyright © 2016年 cpy. All rights reserved.
//

#import "CPYSongListTypeChildrenCollectionViewCell.h"

@implementation CPYSongListTypeChildrenCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.typeLabel = [[TTMusicBaseLabel alloc] initWithFrame:CGRectMake(3, 3, self.bounds.size.width - 6, self.bounds.size.height - 6)];
        _typeLabel.backgroundColor = COLOR(232, 233, 234);
        _typeLabel.layer.borderWidth = 1.0f;
        _typeLabel.textAlignment = NSTextAlignmentCenter;
        
        [self.contentView addSubview:_typeLabel];
    }
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
